package com.sixdog.regulate.service;

import com.sixdog.regulate.bean.CmdResult;

//手势动作
public interface GestureService {
    //单次点击
    CmdResult onClick(String deviceSerial,int x,int y);
    //自定义点击(durationMS持续时长,intervalMS间隔时长[低于50毫秒会丢失点击])(单位：毫秒)
    CmdResult onClickCustom(String deviceSerial,int x,int y,int durationMS,int intervalMS);
    //滑动(StartX,StartY开始坐标;endX,endY结束坐标;durationMS持续时长)
    CmdResult onStroke(String deviceSerial,int StartX,int StartY,int endX,int endY,int durationMS);
    //输入字符(不支持中文)
    CmdResult inputString(String deviceSerial,String text);
}
